package com.yc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.jms.annotation.EnableJms;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * Hello world!
 *
 * @author 001
 */
@SpringBootApplication
@EnableJms
@EnableAsync    //开启异步
@EnableCaching
public class OrderConsumerApp {
    public static void main( String[] args ){
        SpringApplication.run(OrderConsumerApp.class);
    }
}
